home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / networking / misc / wu-ftpd-37.14.lha / wu-ftpd / src / smakefile < prev    next >
Encoding:
Makefile  |  1994-08-18  |  1.7 KB  |  61 lines

  1. #
  2. # wu-ftpd makefile for SAS C 6.51
  3. #
  4.  
  5. OBJ1    = ftpd.o ftpcmd.o glob.o vers.o access.o extensions.o
  6. OBJ2    = realpath.o acl.o private.o authenticate.o conversions.o hostacc.o
  7. OBJ3    = getusershell.o authuser.o fnmatch.o ftw.o strsep.o logwtmp.o
  8. OBJ4    = regexp.o regerror.o unixdirs.o amiga.o fixes.o
  9. OBJS    = ${OBJ1} ${OBJ2} ${OBJ3} ${OBJ4}
  10.  
  11. all: ftpd ftpcount ftpshut
  12.  
  13. ftpcount: ftpcount.o vers.o
  14.     ${CC} LINK TO $@ ftpcount.o vers.o
  15.  
  16. ftpshut: ftpshut.o vers.o
  17.     ${CC} LINK TO $@ ftpshut.o vers.o
  18.  
  19. ftpd: ${OBJS}
  20.     ${CC} LINK TO $@ ${OBJS}
  21.  
  22. vers.o:
  23.     execute newvers.sh
  24.     ${CC} vers.c
  25.  
  26. ftpcmd.c: ftpcmd.y
  27.     bison -y ftpcmd.y -o ftpcmd.c
  28.  
  29. # Cleanup junk
  30. clean:
  31.     -delete ${OBJS} ftpcmd.c ftpd ftpd.lnk
  32.         -delete ftpshut ftpshut.lnk ftpshut.o
  33.         -delete ftpcount ftpcount.lnk ftpcount.o
  34.  
  35. # Bump revision
  36. bumprev: vers.o all
  37.  
  38. # Dependencies
  39. authenticate.o: authenticate.c authenticate.h config.h
  40. conversions.o: conversions.c conversions.h extensions.h pathnames.h config.h
  41. hostacc.o: hostacc.c hostacc.h config.h
  42. extensions.o: extensions.c extensions.h pathnames.h config.h
  43. ftpd.o: ftpd.c extensions.h pathnames.h config.h
  44. ftpcmd.o: ftpcmd.c extensions.h pathnames.h config.h
  45. access.o: access.c extensions.h pathnames.h config.h
  46. acl.o: acl.c extensions.h pathnames.h config.h
  47. private.o: private.c extensions.h pathnames.h config.h
  48. logwtmp.o: logwtmp.c pathnames.h config.h
  49. ftpcount.o: ftpcount.c extensions.h pathnames.h config.h
  50. ftpshut.o: ftpshut.c pathnames.h config.h
  51. realpath.o: realpath.c config.h
  52. glob.o: glob.c config.h
  53. getusershell.o: getusershell.c config.h
  54. authuser.o: authuser.c config.h authuser.h
  55. fnmatch.o: fnmatch.c config.h
  56. ftw.o: ftw.c config.h ftw.h
  57. strsep.o: strsep.c
  58. regexp.o: regexp.c regexp.h regmagic.h
  59. amiga.o: amiga.c extensions.h config.h
  60. fixes.o: fixes.c config.h
  61.